export default [
    //患者首页一级
    {
        path: '/home',
        name: 'Home',
        component: () =>
            import ( /* webpackChunkName: "home" */ '../views/mobile/home/Home.vue'),
        children: [{
                path: '/home',
                redirect: '/home/homes'
            },
            //患者首页二级
            {
                path: '/home/homes',
                name: 'Homes',
                component: () =>
                    import ( /* webpackChunkName: "homes" */ '../views/mobile/home/homes/Homes')
            },
            //问药 
            {
                path: '/home/mce',
                name: 'Mce',
                component: () =>
                    import ( /* webpackChunkName: "mce" */ '../views/mobile/home/mce/Mce')
            },
            // 患者快速问诊
            {
                path: '/home/inquiry',
                name: 'Inquiry',
                component: () =>
                    import ( /* webpackChunkName: "inquiry" */ '../views/mobile/home/inquiry/Inquiry')
            },
            // 患者问诊记录
            {
                path: '/home/record',
                name: 'Record',
                component: () =>
                    import ( /* webpackChunkName: "record" */ '../views/mobile/home/record/Record')
            },
            // 患者个人记录
            {
                path: '/home/mine',
                name: 'Mine',
                component: () =>
                    import ( /* webpackChunkName: "mine" */ '../views/mobile/home/mine/Mine'),
            },
            //患者档案
            {
                path: '/home/mine/Healthrecord',
                name: 'Healthrecord',
                component: () =>
                    import ( /* webpackChunkName: "mine" */ '../views/mobile/home/mine/Healthrecord/Healthrecord.vue'),
            },
            {
                path: '/home/mine/changePass',
                name: 'Mines',
                component: () =>
                    import ( /* webpackChunkName: "Mines" */ '../views/mobile/home/mine/Tools/ChangePass.vue')
            },
            {
                path: '/home/mine/addressEdit',
                name: 'Edit',
                component: () =>
                    import ( /* webpackChunkName: "edit" */ '../views/mobile/home/mine/Tools/AddressEdit.vue')
            },
            {
                path: '/home/mine/address',
                name: 'Miness',
                component: () =>
                    import ( /* webpackChunkName: "Miness" */ '../views/mobile/home/mine/Tools/Address.vue'),
            },
            {
                path: '/home/mine/drups',
                name: 'Minesss',
                component: () =>
                    import ( /* webpackChunkName: "Minesss" */ '../views/mobile/home/mine/Tools/Drug.vue'),
            },
            {
                path: '/home/mine/gorecord',
                name: 'Minee',
                component: () =>
                    import ( /* webpackChunkName: "mine" */ '../views/mobile/home/mine/Tools/TopRecord.vue'),
            },{

                path: '/detail',
                name: 'Detail',
                component: () =>
                    import ( /* webpackChunkName: "detail" */ '../views/mobile/home/Detail')
            },
            {
                path: '/details',
                name: 'Details',
                component: () =>
                    import ( /* webpackChunkName: "details" */ '../views/mobile/home/Details')
            },
        ]
    },
    // 咨询
    {
        path: '/consult',
        name: 'Consult',
        component: () =>
            import ( /* webpackChunkName: "mine" */ '../views/mobile/consult/Consult.vue')
    },
    // 登录
    {
        path: '/login',
        name: 'Login',
        component: () =>
            import ( /* webpackChunkName: "login" */ '../views/mobile/login/Login.vue')
    },
    //手机号登录
    {
        path: '/logins',
        component: () =>
            import ( /* webpackChunkName: "logins" */ '../views/mobile/login/logins/Logins.vue')
    },
    // 注册
    {
        path: '/register',
        name: 'Register',
        component: () =>
            import ( /* webpackChunkName: "register" */ '../views/mobile/register/Register.vue')
    },
    //病例
    {
        path: '/case/:id',
        name: 'Case',
        component: () =>
            import ( /* webpackChunkName: "case" */ '../views/mobile/case/Case.vue')
    },
    //医生科室列表
    {
        path: '/docl/:id',
        name: 'Docl',
        component: () =>
            import ( /* webpackChunkName: "docl" */ '../views/mobile/docl/Docl.vue')
    },
    //医生列表
    {
        path: '/doctor/:id',
        name: 'Doctor',
        component: () =>
            import ( /* webpackChunkName: "doctor" */ '../views/mobile/doctor/Doctor.vue')
    },
    //患者档案
    {
        path: '/archives/:id',
        name: 'Archives',
        component: () =>
            import ( /* webpackChunkName: "archives" */ '../views/mobile/archives/Archives.vue')
    },
    //患者充值中心
    {
        path: '/recharge',
        name: 'Recharge',
        component: () =>
            import ( /* webpackChunkName: "recharge" */ '../views/mobile/recharge/Recharge.vue')
    },
    //个人中心的购物车
    {
        path: '/cart',
        name: 'Cart',
        component: () =>
            import ( /* webpackChunkName: "cart" */ '../views/mobile/login/cart/Cart.vue')
    },
    //商品界面
    {
        path: '/drupShop',
        name: 'drup',
        component: () =>
            import ( /* webpackChunkName: "drup" */ '../views/mobile/drugShop/DrupShop.vue')
    },
]